package com.fw.system.web.model.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author  
 * @since 2021-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbCollection extends Model<TbCollection> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 装备id
     */
    @TableField("guns_id")
    private String gunsId;

    /**
     * 装备名称
     */
    @TableField("guns_name")
    private String gunsName;

    /**
     * 图片
     */
    @TableField("img_url")
    private String imgUrl;

    /**
     * 装备价格
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 用户编号
     */
    @TableField("user_id")
    private String userId;

    /**
     * 1 收藏 0取消
     */
    @TableField("is_type")
    private Integer isType;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
